package unit5.part5.bak;

import java.util.Date;

public abstract class Builder {
    abstract boolean buildBase(Date endDate);

    abstract void buildBody();

    void construct(Date endDate) {
        if (buildBase(endDate)) {
            buildBody();
        }
    }
}
